import Vue from 'vue'
import App from './App.vue'
import Vuex from 'vuex';
// #ifndef VUE3
Vue.use(Vuex);
import './uni.promisify.adaptor'
//全局变量
Vue.prototype.$baseUrl =  'http://120.78.157.4:8080';
//全局变量
Vue.prototype.$baseIp =  '120.78.157.4:8080';
//引入store
 import store from './store'
 Vue.prototype.$store = store
Vue.config.productionTip = false
App.mpType = 'app'
// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView)
uni.$u.config.unit = 'rpx'
// 引入全局配置和请求拦截
require('@/config/request.js')(app);
const app  = new Vue({
	store,
	...App
})
app.$mount()
// #endif
// #ifdef VUE3
// import { createSSRApp } from 'vue'
// export function createApp() {
//   const app = createSSRApp(App)
//   return {
//     app
//   }
// }
// #endif